#include <iostream>

struct student
{
    std::string name;
    int age;
    int score;
};

void printStudent(struct student stu)
{
    std::cout << "------------" << std::endl;
    std::cout << "Student: " << stu.name << std::endl;
    std::cout << "Name:\t" << stu.name << std::endl;
    std::cout << "Age:\t" << stu.age << std::endl;
    std::cout << "Score:\t" << stu.score << std::endl;
}

int main(int argc, char const *argv[])
{

    student arr[3] = {
        {"张三", 100, 100},
        {"李四", 120, 800},
        {"王五", 1435, 47382487}};

    for (int i = 0; i < 3; i++)
    {
        printStudent(arr[i]);
    }

    return 0;
}
